using AiQiuQuan.Sport.Model.Models;
using AiQiuQuan.Sport.Core;

namespace AiQiuQuan.Sport.WebApi.Services
{
    /// <summary>
    /// 场馆会员卡套管理
    /// </summary>
    public interface IVenueMemberCardService : ITransientDependency
    {
        /// <summary>
        /// 查询
        /// </summary>
        Task<VenueMemberCardDto> GetAsync(Guid id);

        /// <summary>
        /// 分页请求
        /// </summary>
        Task<PageResult<VenueMemberCardDto>> PageListAsync(VenueMemberCardPageRequestDto request);

        /// <summary>
        /// 新增
        /// </summary>
        Task<UnaryResult> AddAsync(VenueMemberCardAddDto model);

        /// <summary>
        /// 修改状态
        /// </summary>
        Task<UnaryResult> UpdateStateAsync(VenueMemberCardUpdateStatusDto model);

        /// <summary>
        /// 卡套编辑
        /// </summary>
        Task<UnaryResult> UpdateAsync(VenueMemberCardUpdateDto model);
    }
}
